package com.finance.cooperate.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName CooperateProperties
 * @Description 配置文件加载主类
 * @Author shen
 * @Date 2022/5/25 15:14
 * @Modify ...
 */
@ConfigurationProperties(prefix = "coo.mexico")
@Component("cooperateProperties")
@Data
public class CooperateProperties {

    // 运行环境切换配置类
    private EnvironmentProperties environment = new EnvironmentProperties();

    // API 接口
    private ApiProperties api = new ApiProperties();

}
